import { ReadableType } from './ReadableType';
import { ReadableArray } from './ReadableArray';
import HashMap from '@ohos.util.HashMap';
export interface ReadableMap extends HashMap<string, any>  {
    hasKey(var1?: string): boolean;

    isNull(var1?: string): boolean;

    getBoolean(var1?: string): boolean;

    getNumber(var1?: string): number;

//    getDouble(var1?: string): number;
//
//    getInt(var1?: string): number;

    getString(var1?: string): string | null;

    getArray(var1?: string): ReadableArray | null;

    getMap(var1?: string): ReadableMap | null;
//
//    @NonNull
//    Dynamic getDynamic(var1?: string);

    getType(var1?: string): ReadableType;

    // getEntryIterator():  IterableIterator<string, any>; // Iterator<Entry<String, Object>> -->entries

    // keySetIterator(): ReadableMapKeySetIterator;

    // HashMap<String, Object> toHashMap();
}
